Skip to content

Vision revision and track#100

Closed
SimoneMartino98 wants to merge 23 commits into
GMPavanLab:mainfrom
SimoneMartino98:vision_revision
Closed

Vision revision and track#100
SimoneMartino98 wants to merge 23 commits into
GMPavanLab:mainfrom
SimoneMartino98:vision_revision

Conversation

@SimoneMartino98

Copy link
Copy Markdown
Collaborator

Hi all @andrewtarzia @matteobecchi;

With this PR i solved:

Then I:

  • added the dynsight.track module, which now returns Trj.
  • Improved the vision GUI by developing an adaptive image rescaling in the visualization (for big images).

I'm ready, whenever you want, for the revision.

Comment thread .github/workflows/tests.yaml
Comment thread docs/source/vision.rst Outdated
Comment thread docs/source/vision.rst
Comment thread examples/video_detection.py
Comment thread justfile Outdated
logger = logging.getLogger(__name__)


def track_xyz(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some interesting parameters here, which probably need a bit more of an explanation of their ranges and their meaning. I see your doc string, but I think it needs more.

For all these:

  • search_range: float = 10,
  • memory: int = 1,
  • adaptive_step: float = 0.5,
  • adaptive_stop: float = 0.95,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How big can each be? What are appropriate ranges?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the doc from the original trackpy documentation.
There aren't appropriate ranges for these. They depend on the system size.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So how does the user select what values to use?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trial and error, based on the system they have. (concentration of particles, velocity of them, vibrations).

Comment thread src/dynsight/_internal/track/track.py
Comment thread src/dynsight/_internal/track/track.py
Comment thread src/dynsight/_internal/vision/vision_gui.py

@andrewtarzia andrewtarzia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor things, and changes in the Conversation comments, then all good

Comment thread examples/video_detection.py
Comment thread src/dynsight/_internal/track/track.py
Comment thread src/dynsight/_internal/track/track.py
@SimoneMartino98
SimoneMartino98 deleted the vision_revision branch August 27, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants